<script setup lang="ts">


import {ref} from "vue";

const flag = ref(true)
function closeImg(){
    flag.value = !flag.value
}

</script>

<template>
    <div class="Box" v-if="flag">
        <div class="Wrong">
            <img src="@/assets/images/错号.png" alt="" @click="closeImg">
        </div>
        <div class="Pic">
            <router-link to="/BigTurntable">
                <img src="@/assets/images/立即抽奖.png" alt="">
            </router-link>
        </div>
    </div>
</template>

<style scoped>

.Wrong{
    position: fixed;
    right: 13px;
    top: 460px;
    z-index: 999;

    img{
        width: 15px;
        height: 15px;
    }
}
.Pic{
    position:fixed;
    top: 440px;
    right: -7px;

    img{
        width: 120px;
        height: 170px;
    }
}
</style>